import java.io.*;
import java.util.ArrayList;

public class GameState implements Serializable {

	private Player player;
	private ArrayList<Location> GameWorld = new ArrayList<Location>();
	private GUI UI;
	
	public GameState() {
		
	}
	
	public void setPlayer(Player a) {
		player = a;
	}
	
	public void addLocation(Location a) {
		GameWorld.add(a);
	}
	
	public void setGUI(GUI a) {
		UI = a;
	}
	
	public void clearWorld() {
		GameWorld.clear();
		player = null;
		UI = null;
	}
	
	public GUI getGUI() {
		return UI;
	}
	
}
